package com.yx.shop.service;

import com.yx.shop.entitly.User;

/**
 * @Classname UserService
 * @Description TODO:
 * @Date 2021/05/06 16:52
 * @Created by yx
 */
public interface UserService {
    User getUserByName(String name);
    boolean register(String username, String password, String email, String sex);

    int activate(String e, String c);

    User login(String username, String password);
}
